package com.samehope.ar.service.impl;

import com.samehope.ar.entity.PatrolPointDetail;
import com.samehope.ar.mapper.PatrolPointDetailMapper;
import com.samehope.ar.service.IPatrolPointDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 巡检点项目明细 服务实现类
 * </p>
 *
 * @author Zhang Luo
 * @since 2019-12-23
 */
@Service
public class PatrolPointDetailServiceImpl extends ServiceImpl<PatrolPointDetailMapper, PatrolPointDetail> implements IPatrolPointDetailService {

    /**
     * 根据点位获取点位明细
     * @param pointId
     * @return
     */
    @Override
    public List<PatrolPointDetail> findDetailsByPoint(Long pointId) {
        return this.baseMapper.findDetailsByPoint(pointId);
    }
}
